package com.fanchuan.uzx.beans;

import com.googlecode.androidannotations.annotations.sharedpreferences.DefaultBoolean;
import com.googlecode.androidannotations.annotations.sharedpreferences.DefaultInt;
import com.googlecode.androidannotations.annotations.sharedpreferences.DefaultLong;
import com.googlecode.androidannotations.annotations.sharedpreferences.SharedPref;

@SharedPref
public interface NewsPrefs {
	@DefaultInt(0)
	int nextPage(); // next page

	@DefaultBoolean(true)
	boolean hasNextPage(); // whether is has next page

	@DefaultLong(0)
	long lastUpdateTime(); // save listview last update time

	@DefaultInt(0)
	int listViewSaveState(); // save position of listview

	@DefaultBoolean(true)
	boolean hasMoreData();

	@DefaultInt(0)
	int total(); // server use to depend data
}
